package com.zk.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zk.erp.entity.Functions;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zk
 * @since 2021-04-12
 */
public interface FunctionsMapper extends BaseMapper<Functions> {
    List<Functions> findFunctionsByUsername(String username);

    List<Functions> findAll();

    List<String> selectFunctionIdsByRoleId(String roleId);

}
